package com.xxl.job.executor.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xxl.job.executor.entity.TbUser;
import com.xxl.job.executor.service.ITbUserService;
import com.xxl.job.executor.mapper.account.TbUserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author WangYueBan
 * @since 2025-04-11
 */
@Service
public class TbUserServiceImpl extends ServiceImpl<TbUserMapper, TbUser> implements ITbUserService {

    @Resource
    private TbUserMapper tbUserMapper;

    @Override
    public boolean insertUser(TbUser tbUser) {
        return tbUserMapper.insertUser(tbUser);
    }
}
